﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace GameServer
{
	public class SubsClient
	{
		TcpClient _connection;
		public TcpClient Connection
		{
			get
			{
				if (_connection.Connected)
					return _connection;
				else
					return null;
			}
			private set
			{
				_connection = value;
			}
		}
		public string Opponent { get; set; }
		public int AliveResponse { get; set; }

		public SubsClient(TcpClient con)
		{
			Connection = con;
			AliveResponse = 0;
			Opponent = "";
		}
	}
}